<?php

// +----------------------------------------------------------------------
// | 简易CMS
// +----------------------------------------------------------------------
// | Copyright (C) 2010 Hoping Software Studio.
// +----------------------------------------------------------------------
// | Version $Id$
// +----------------------------------------------------------------------

return [
    'USER_ADMINISTRATOR'   => 1,
    'response_auto_output' => false, //兼容ThinkPHP 3.2.3模式
    'view'                 => array_merge(C('view'), [
        'parse_str' => [
            '__ROOT__'   => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1),
            '__STATIC__' => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static',
            '__CSS__'    => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/css',
            '__IMG__'    => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/images',
            '__JS__'     => substr(trim(\think\Config::get('base_url'), 'index.php'), 0, -1) . '/static/' . MODULE_NAME . '/js',
        ],
    ]),
    //
];
